<div class="row">
<div class="large-12 columns">
	<div class="panel callout">
			<h6>Show Fees (Tuition)</h6>
	</div>
<?if(isset($system_message))echo $system_message;?>
<table class="table">
	<?if(!empty($tuit_fee)):?>
		<tr>
			<th>Fee Name</th>
			<th>Fee Rate</th>
			<th>Fee Description</th>
			<th>Fee Status</th>
			<th>For Grade Level</th>
			<th></th>
		</tr>
		<?foreach($tuit_fee as $gld):?>
			<tr>
				<td><?=$gld->fee_name;?></td>
				<td style="text-align:right;">&#8369; <?=money($gld->fee_rate);?></td>
				<td style="min-width:100px;"><?=$gld->fee_desc;?></td>
				<td><label class="label label-inverse"><?=$gld->fee_stat;?></label></td>
				<td><?=$gld->level_desc;?></td>
				<td>
					<div class="btn-group">
						<a href="<?=site_url('update-fees').'/'.$gld->fee_id;?>" class="confirm btn btn-mini btn-success" title="Do you want to update fee?"><i class="icon-g-edit"></i></a>
						<a href="<?=site_url('delete-fees/tuition/'.__link(intval($gld->fee_id)));?>" class="confirm btn btn-mini btn-danger" title="Are you sure you want to DELETE fee?"><i class="icon-g-circle-remove"></i></a>
						<?if($gld->fee_stat == 'inactive'):?>
							<? $hash = $this->authlink->hash_make($gld->fee_id);?>
							<a href="<?=site_url('enable-tfee/'.$gld->fee_id.'/'.$hash);?>" class="confirm btn btn-mini btn-primary" title="Are you sure you want to Enable fee?">Enable</a>
						<?else:?>
							<? $hash = $this->authlink->hash_make($gld->fee_id);?>
							<a href="<?=site_url('disable-fee/'.$gld->fee_id.'/'.$hash);?>" class="confirm" title="Are you sure you want to Disable fee?"><button class="btn btn-mini"><i class="icon-check"></i></button></a>
						<?endif;?>
					</div>
				</td>
			</tr>
		<?endforeach;?>
	<?else:?>
			<tr>
				<td colspan="8">No Data Available</td>
			</tr>
	<?endif;?>
</table>
</div>
</div>